UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Ubuntu 22.04 LTS must encrypt all stored passwords with a FIPS 140-3-approved cryptographic hashing algorithm.


Overview

Finding ID Version Rule ID IA Controls Severity
V-260572 UBTU-22-611070 SV-260572r971535_rule Medium
Description
Passwords need to be protected at all times, and encryption is the standard method for protecting passwords. If passwords are not encrypted, they can be plainly read (i.e., clear text) and easily compromised.
STIG Date
Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide 2024-05-30

Details

Check Text ( C-64301r953527_chk )
Verify that the shadow password suite configuration is set to encrypt passwords with a FIPS 140-3 approved cryptographic hashing algorithm by using the following command:

$ grep -i '^\s*encrypt_method' /etc/login.defs
ENCRYPT_METHOD SHA512

If "ENCRYPT_METHOD" does not equal SHA512 or greater, is commented out, or is missing, this is a finding.
Fix Text (F-64209r953528_fix)
Configure Ubuntu 22.04 LTS to encrypt all stored passwords.

Add or modify the following line in the "/etc/login.defs" file:

ENCRYPT_METHOD SHA512